docs(miner): fix stale header comment in submission-freshness-check#6200
Conversation
The header described the freshness -> prepareOpenPrSubmission -> Governor composition as something "a future real call site" would wire together. That call site already exists: attempt-runner.js composes runIterateLoop -> checkSubmissionFreshness -> prepareOpenPrSubmission -> evaluateGovernorChokepointGatePersisted in exactly that order (its own module comment documents the same ordering, and it calls checkSubmissionFreshness directly before prepareOpenPrSubmission). Comment-only; no behavior change. Closes JSONbored#6163
|
🚨 Contributor flagged. Click here for more info: Superagent Dashboard |
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ LoopOver review result - manual review recommendedReview updated: 2026-07-15 23:13:54 UTC
⏸️ Suggested Action - Manual Review Review summary Nits — 4 non-blocking
Flagged checks (non-blocking)
Review context
Contributor next steps
Signal definitions
🧪 Chat with LoopOverAsk LoopOver a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://gittensory.aethereal.dev/docs/loopover-commands 🧪 Experimental — new and may change. 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by LoopOver, a quiet PR intelligence layer for OSS maintainers.
|
Summary
Closes #6163
submission-freshness-check.js's header said the freshness →prepareOpenPrSubmission→ Governor composition was something "a future real call site wires them together in that order". That call site already exists, so the comment was misleading a reader into thinking the module isn't wired in yet.attempt-runner.jsis that call site: its own module comment (lines 8-13) documents composingrunIterateLoop → checkSubmissionFreshness → prepareOpenPrSubmission → the Governor chokepoint, and it callscheckSubmissionFreshnessdirectly beforeprepareOpenPrSubmission(lines 148-156).Scope
type(scope): short summaryConventional Commit format, for examplefix(api): restore profile access checks.CONTRIBUTING.mdand does not reintroduce GitHub Pages, VitePress,site/, orCNAME.Closes #123) — a linked open issue is required for every contributor PR.Validation
git diff --checknpm run actionlintnpm run typechecknpm run test:coveragelocally;codecov/patchrequires ≥99% coverage of the lines AND branches you changed (aim for 100% on your diff so CI variance does not fail near the threshold). Global coverage is a non-blocking trend with a loose 90% backstop, not the gate.npm run test:workersnpm run build:mcpnpm run test:mcp-packnpm run ui:openapi:checknpm run ui:lintnpm run ui:typechecknpm run ui:buildnpm audit --audit-level=moderateIf any required check was skipped, explain why:
mainbefore changing anything, rather than trusting the description:attempt-runner.js:8-13documents the exact ordering and:148-156performs it.miner-submission-freshness-check+miner-attempt-runner(44 tests).codecov/patchto measure and no behavior to test. UI/MCP/workers surfaces are untouched; leaving them to CI.Safety
UI Evidencesection below with JPG/JPEG or PNG screenshots arranged as organized, captioned, clickable thumbnails. SVG screenshots are not used as review evidence. Review-only screenshots or recordings are not committed to the repository.No code, auth, API, or UI surface is touched — this corrects a single stale comment.
Notes
Closes #6163